package com.mz.mattress.admin.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.mz.mattress.api.common.BaseEntity;
import lombok.Data;

import java.util.List;

@Data
@TableName("sys_role")
public class SysRole extends BaseEntity {

    private Integer id;
    //名称
    private String name;
    //编码
    private String code;
    //备注
    private String remark;

    @TableField(exist = false)
    private List<Integer> menuIds;

}
